package com.funo.logic.model.database;

import com.funo.logic.model.IdEntity;

/**
 * 字典配置
 * @since 2024年7月23日16:45:55
 * @author cms
 */
public class Column extends IdEntity {
    private static final long serialVersionUID = -460759366524248761L;

    /**
     * 所属tableId
     */
    private String tableId;
    /**
     * 字段编码
     */
    private String code;
    /**
     * 字段名称
     */
    private String name;
    /**
     * 字段注释
     */
    private String comment;
    /**
     * 字段类型
     */
    private String type;

    /**
     * 长度
     */
    private Integer length;

    public String getTableId() {
        return tableId;
    }

    public void setTableId(String tableId) {
        this.tableId = tableId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }
}
